package com.qidian.mes.md.dict;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.qidian.mes.md.excel.WorkshopConverter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @Author: 小可怎么都睡不够
 * @Description:
 * @Time: 2024-04-12 17:06
 **/
@HeadRowHeight(25)//表头行高
@ContentRowHeight(20)//内容行高
@ColumnWidth(20)//列宽
public class WorkStationInfo {

    @ExcelIgnore
    private Integer idWork;
    @ExcelProperty(value = "工作站名称")
    private String workStationName;
    @ExcelProperty(value = "工作站编码")
    private String workStationCode;
    @ExcelProperty(value = "工作站地址")
    private String address;
    @ExcelProperty(value = "状态",converter = WorkshopConverter.class)
    private Integer status;
    @ExcelProperty(value = "所属车间")
    private String workshop;//所在车间
    @ExcelProperty(value = "所属工序")
    private String process;//所在工序
    @ExcelProperty(value = "备注")
    private String remark;// 备注
    @ExcelProperty(value = "设备资源")
    private String equipments;//设备资源
    @ExcelProperty(value = "人力资源")
    private String humanResources;//人力资源
    @ExcelProperty(value = "工装夹具")
    private String fixtures;//工装夹具

    public WorkStationInfo() {
    }

    public WorkStationInfo(Integer idWork, String workStationName, String workStationCode, String address, Integer status, String workshop, String process, String remark) {
        this.idWork = idWork;
        this.workStationName = workStationName;
        this.workStationCode = workStationCode;
        this.address = address;
        this.status = status;
        this.workshop = workshop;
        this.process = process;
        this.remark = remark;
    }

    public String getWorkStationName() {
        return workStationName;
    }

    public void setWorkStationName(String workStationName) {
        this.workStationName = workStationName;
    }

    public String getWorkStationCode() {
        return workStationCode;
    }

    public void setWorkStationCode(String workStationCode) {
        this.workStationCode = workStationCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public String getProcess() {
        return process;
    }

    public void setProcess(String process) {
        this.process = process;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEquipments() {
        return equipments;
    }

    public void setEquipments(String equipments) {
        this.equipments = equipments;
    }

    public String getHumanResources() {
        return humanResources;
    }

    public void setHumanResources(String humanResources) {
        this.humanResources = humanResources;
    }

    public String getFixtures() {
        return fixtures;
    }

    public void setFixtures(String fixtures) {
        this.fixtures = fixtures;
    }

    public Integer getIdWork() {
        return idWork;
    }

    public void setIdWork(Integer idWork) {
        this.idWork = idWork;
    }
}
